package com.tsing.service.impl;

import com.tsing.mapper.CommentsMapper;
import com.tsing.mapper.impl.CommentsMapperImpl;
import com.tsing.service.CommentsService;

/**
 * @auth 卢孝宇
 * @date 2023/12/15 10:03
 */
public class CommentsServiceImpl implements CommentsService {
    private final CommentsMapper commentsMapper = new CommentsMapperImpl();
    @Override
    public Integer insert(Integer userId, Integer postId, String comments, String recoveryTime, String address, Integer likeCount,Integer status) {
        return commentsMapper.insert(userId, postId, comments, recoveryTime, address, likeCount,status);
    }
}
